package com.nacos.dubbo.impl;

import com.dubbo.service.api.Service2Api;
import com.nacos.dubbo.api.Service1Api;
import org.apache.dubbo.config.annotation.Reference;
import org.apache.dubbo.config.annotation.Service;

@Service
public class Service1ApiImpl implements Service1Api {
    @Reference
    private Service2Api service2Api;
    public String service1() {
        String s = service2Api.dubboService2();
        return "service1 dubbo -->service1 |return |"+s;
    }
}
